package com.qj.yantaishan.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 收货地址对象 shanglala_user_address
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class UserAddress
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer addressId;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer uid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String sessionId;

    /** 收货人 */
    @Excel(name = "收货人")
    private String name;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String tel;

    /** 省code */
    @Excel(name = "省code")
    private Integer province;

    /** 市code */
    @Excel(name = "市code")
    private Integer city;

    /** 区code */
    @Excel(name = "区code")
    private Integer area;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 邮编 */
    @Excel(name = "邮编")
    private String zipcode;

    /** 默认收货地址 */
    @Excel(name = "默认收货地址")
    @TableField("default")
    private Integer default1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long addTime;

    /** 用户的街道门牌信息 */
    @Excel(name = "用户的街道门牌信息")
    private String addressDetail;

    /** 坐标纬度 */
    @Excel(name = "坐标纬度")
    private String lat;

    /** 坐标经度 */
    @Excel(name = "坐标经度")
    private String lng;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer isDelete;

    public void setAddressId(Integer addressId) 
    {
        this.addressId = addressId;
    }

    public Integer getAddressId() 
    {
        return addressId;
    }
    public void setUid(Integer uid) 
    {
        this.uid = uid;
    }

    public Integer getUid() 
    {
        return uid;
    }
    public void setSessionId(String sessionId) 
    {
        this.sessionId = sessionId;
    }

    public String getSessionId() 
    {
        return sessionId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setProvince(Integer province) 
    {
        this.province = province;
    }

    public Integer getProvince() 
    {
        return province;
    }
    public void setCity(Integer city) 
    {
        this.city = city;
    }

    public Integer getCity() 
    {
        return city;
    }
    public void setArea(Integer area) 
    {
        this.area = area;
    }

    public Integer getArea() 
    {
        return area;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setZipcode(String zipcode) 
    {
        this.zipcode = zipcode;
    }

    public String getZipcode() 
    {
        return zipcode;
    }
    public void setDefault(Integer default1)
    {
        this.default1 = default1;
    }

    public Integer getDefault() 
    {
        return default1;
    }
    public void setAddTime(Long addTime) 
    {
        this.addTime = addTime;
    }

    public Long getAddTime() 
    {
        return addTime;
    }
    public void setAddressDetail(String addressDetail) 
    {
        this.addressDetail = addressDetail;
    }

    public String getAddressDetail() 
    {
        return addressDetail;
    }
    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }
    public void setLng(String lng) 
    {
        this.lng = lng;
    }

    public String getLng() 
    {
        return lng;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("uid", getUid())
            .append("sessionId", getSessionId())
            .append("name", getName())
            .append("tel", getTel())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("address", getAddress())
            .append("zipcode", getZipcode())
            .append("default", getDefault())
            .append("addTime", getAddTime())
            .append("addressDetail", getAddressDetail())
            .append("lat", getLat())
            .append("lng", getLng())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
